/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dao;

import java.sql.SQLException;

/**
 *
 * @author 07200765
 */
public class bancoCasehd {
    private Conexao conex;

    public String getPassword() {
        return "vertrigo";
    }

    public String getUrl() {
        return "jdbc:mysql://localhost/casehd";
    }

    public String getUsername() {
        return "root";
    }

    public boolean conectar() throws SQLException{
        conex = new Conexao();
        return conex.conectar(getUrl(), getUsername(), getPassword());
    }

}
